names1=['a','b','c','d']

names1[1]='F'

print(names1)


names2=['a','b','c','d']

names2.reverse()

print(names2)

####升序排列#####
names3=[1,14,167,11,20,120]
names3.sort()
print(names3)

###降序排列###
names3.sort(reverse= True)
print(names3)

